I think this error message is clearer.
Closes: #1918
Approved by: jlebon
* @OSTREE_REPO_COMMIT_STATE_PARTIAL: One or more objects are missing from the
* local copy of the commit, but metadata is present. (Since: 2015.7.)
* @OSTREE_REPO_COMMIT_STATE_FSCK_PARTIAL: One or more objects are missing from the
- * local copy of the commit, due to an fsck --delete. (Since: 2019.3.)
+ * local copy of the commit, due to an fsck --delete. (Since: 2019.4.)
*
* Flags representing the state of a commit in the local repository, as returned
* by ostree_repo_load_commit().
return glnx_throw (error, "Repository corruption encountered");
if (n_fsck_partial > 0)
- return glnx_throw (error, "%u fsck deleted partial commits not verified", n_partial);
+ return glnx_throw (error, "%u partial commits from fsck-detected corruption", n_partial);
return TRUE;
}